package cn.iocoder.yudao.module.handguard.controller.app.applicationrecord.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户申请贷款表（申请通过创建订单）分页 Request VO")
@Data
public class ApplicationRecordPageReqVO extends PageParam {

    @Schema(description = "用户ID", example = "559")
    private Long userId;

    private String name;

    @Schema(description = "申请的产品id", example = "26934")
    private Integer productId;

    @Schema(description = "流程：1完善资料、2下放额度、3申请贷款、4业务员处理、5权证处理 6.资料审核、7.银行面签填贷款申请表、8.考察抵押物和经营场所、9.银行出批复10.银行面签抵押合同和借款合同、11.办理抵押、12.办公证、13.放款")
    private String flowN;

    @Schema(description = "下放额度时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] issuanceTime;

    @Schema(description = "下放额度")
    private BigDecimal amount;

    @Schema(description = "实际放款金额")
    private BigDecimal practicalAmount;

    @Schema(description = "0：失败，1：待跟进，2跟进中，3已完成")
    private String applyState;

    @Schema(description = "业务员id")
    private Long agentId;

    @Schema(description = "权证员id")
    private Long warrant_id;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    /**
     是否智能匹配0：否，1是
     */
    private String whether;

    private List<Long> ids;

}
